<?php
session_start();
unset($_SESSION["cart"][$_GET["id"]]);
echo "<script>window.location.href = '../profile-cart.php#cart-tab';</script>";
?>